package cn.szzsi._web;

import cn.szzsi.Index.IndexController;
import cn.szzsi._admin.BusinessAppController;
import com.jfinal.config.Routes;

/**
 * 前台路由
 */
public class _WebRoutes extends Routes {

	public void config() {
		setBaseViewPath("/_view/_web");
		add("/", IndexController.class,"/");
		add("/jssdk", JSSDKController.class,"jssdk");
		add("/mall/wbc", WeiXinBusinessController.class);
		add("/ip", IpController.class);
		//add("/b", IndexController.class);
		add("/b/area",AreaController.class);
		add("/b/businessapp", BusinessAppController.class);
		add("/b/brandmember",BrandMemberController.class);
		add("/b/cartItem", CartItemController.class);
		add("/b/cashingbank", CashingBankController.class);
		add("/b/tocashing", CashingController.class);
		add("/b/customerCenter", CustomerCenterController.class);
		add("/b/customer", CustomerController.class);
		add("/b/deposit", DepositController.class);
		add("/b/favorite", FavoriteController.class);
		add("/b/integralProduct", IntegralProductController.class);
		add("/b/message", MessageController.class);
		add("/b/order", OrderController.class);
		add("/b/password", PasswordController.class);
		add("/b/payment", PaymentController.class);
		add("/b/product", ProductController.class);
		add("/b/profile", ProfileController.class);
		add("/b/qrcode", QrcodeController.class);
		add("/b/receiver", ReceiverController.class);
		add("/b/thirdparty",ThirdpartyController.class);
		add("/b/userSign", UserSignController.class);
		add("/b/weiXinIndex", WeiXinIndexAddress.class);
		add("/b/discount",DiscountController.class);
		add("/b/specification",SpecificationController.class);
		add("/b/feedback", UserFeedBackController.class);
		add("/b/captcha",CaptchaController.class);
		add("/b/index", cn.szzsi._web.IndexController.class);
		add("/b/weChatMini",WeiChatMiniController.class);
		add("/b/agent",AgentController.class);
		add("/b/agentBalanceDetail",AgentBalanceDetailController.class);
		add("/b/test",TestController.class);

	}
}
